package arquitetura.model;

import java.util.Collection;
import to.Genero;
import exceptions.*;

public interface ModelGenero {
	public void incluir(Genero genero) throws ConexaoException, ModelException;
	public void alterar(Genero genero)throws ConexaoException, ModelException;
	public void excluir(int codigo) throws ConexaoException, ModelException;
	public Genero consultar(int codigo) throws ConexaoException, ModelException;
	public Collection<String []> listarParaGrid() throws ConexaoException, ModelException;
	public boolean descricaoJahCadastrada(Genero genero) throws ConexaoException, ModelException;
	public boolean podeExcluirGenero(int codigo) throws ConexaoException, ModelException;
}


